﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Optimization;

namespace OpenLayersPlot
{
    public class BundleConfig
    {

        public static void RegisterBundles(BundleCollection bundles)
        {
            //js 文件

            bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
                        "~/Scripts/plugins/jquery-1.11.1.min.js",
                        "~/Scripts/plugins/jquery-ui-1.11.1.min.js"
                        ));

            bundles.Add(new ScriptBundle("~/bundles/ol").Include(
                        "~/Scripts/ol/ol-deps.js"
                        ));
            bundles.Add(new ScriptBundle("~/bundles/goog").Include(
            "~/Scripts/closure-library/closure/goog/base.js"
            ));

            bundles.Add(new ScriptBundle("~/bundles/bootstrap").Include(
           "~/Resources/bootstrap/js/bootstrap.min.js"
           ));

            
            // css 文件

            bundles.Add(new StyleBundle("~/bundles/ol/css").Include(
                "~/CSS/ol.css",
                "~/Resources/layout.css"
                ));

            bundles.Add(new StyleBundle("~/bundles/plot/css").Include(
               "~/CSS/plot.css"
               ));

            bundles.Add(new StyleBundle("~/bundles/bootstrap/css").Include(
                "~/Resources/bootstrap/css/bootstrap.min.css",
                "~/Resources/bootstrap/css/bootstrap-responsive.min.css"
                ));


        }


    }
}